package cn.edu.zjgsu.ito.util;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class ConstantMethod {
	
	public static List<String> strArrToList(String[] strings){
		List<String> userList = new ArrayList<String>();
		Collections.addAll(userList, strings);
		return userList;
	}

	public static String getSixNumberCode(){
		String code = (int)((Math.random()*9+1)*100000) + "";
		return code;
	}
	
}
